package com.liuxin.zhiyuan.shujuzhongxin.mapper;

import com.liuxin.zhiyuan.shujuzhongxin.domain.dto.RecommendationItemDTO;
import com.liuxin.zhiyuan.shujuzhongxin.domain.po.MajorGroupScoreEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
 * 院校专业组录取信息表
 * 
 * @author zsl
 * @email 1301966496@qq.com
 * @date 2025-11-15 16:07:49
 */
@Mapper
public interface MajorGroupScoreMapper extends BaseMapper<MajorGroupScoreEntity> {
    /**
     * 根据位次范围查询专业组
     * @param params 查询参数
     * @return 专业组列表
     */
    List<MajorGroupScoreEntity> queryByRankRange(Map<String, Object> params);

    /**
     * 根据位次和科目要求查询专业组
     * @param params 查询参数
     * @return 专业组列表
     */
    List<RecommendationItemDTO> queryByRankAndSubject(Map<String, Object> params);
}
